package com.daxt.mapper.sys;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.daxt.model.service.base.vo.BaseUser;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface UserMapper extends BaseMapper<BaseUser>{

	Integer selectStudyCount(@Param("tenantId")String tenantId);


	List<BaseUser> queryDeptPostUser(@Param("param") Map<String, Object> param);

	/**
	 * @description: 查询用户  通过部门Id或岗位编码
	 *
	 * @author: lig
	 * @date: 2022/1/20
	 */
	List<BaseUser> queryUserByDeptOrPost(@Param("param") Map<String, Object> param);

}